/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package deatax.state;

import deatax.GameData;

/**
 * This state is for waiting on another player's turn
 * @author pson
 */
public class WaitState extends GameState {
    
    public WaitState(GameData data) {
        super("Wait", data);
    }

    @Override
    public void finish() {
        data.getState().popState();
        data.getState().pushState("Roll");
    }
    
    
}
